import java.util.Arrays;

public class MoreThenHalfNum {
    public static void main(String[] args) {
        int []arr={1,1,1,1,1,1,32,4,43,53,23,1,1,32,1};
        System.out.println(moreThenHalfNum(arr));
    }

    public static int moreThenHalfNum(int[]array){
        Arrays.sort(array);
        return array[(array.length)/2];
    }
}
